<template>
    <div class="home">
      
      <div>{{$t('home')}}</div>
    </div>
  </template>
  
  <script lang="ts">
  import { defineComponent } from "vue";
  import HelloWorld from "@/components/HelloWorld.vue"; // @ is an alias to /src
  
  import { useI18n } from "vue-i18n"; //要在js中使用国际
  
  export default defineComponent({
    name: "HomeView",
    components: {
      HelloWorld,
    },
    setup() {
       const { t } = useI18n();
  
    }
  });
  </script>
  